package com.athuahua.spzx.service;

import com.athuahua.spzx.entity.Category;
import com.athuahua.spzx.entity.vo.CategoryVo;
import com.baomidou.mybatisplus.extension.service.IService;
import jakarta.servlet.http.HttpServletResponse;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
* @author huahua
* @description 针对表【category(商品分类)】的数据库操作Service
* @createDate 2024-07-26 08:35:04
*/
public interface CategoryService extends IService<Category> {

    /**
     * 根据id查询分类列表
     * @param id
     * @return
     */
    List<CategoryVo> findCategoryList(Long id);

    /**
     * 导出数据
     * @param response
     */
    void exportData(HttpServletResponse response);

    /**
     * 导入数据
     * @param file
     */
    void importData(MultipartFile file);
}
